﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeFile="Register.aspx.cs" Inherits="Account_Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainHeard" runat="Server">
    <title>用户注册</title>
    <script src="../Scripts/Jquery/jquery-1.10.2.js" type="text/javascript"></script>
    <script src="../Scripts/common.js" type="text/javascript"></script>
    <script src="../Scripts/Account/RegisterScript.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <form id="form1" runat="server">
    <div>
        <fieldset>
            <legend>用户注册</legend>
            <dl>
                <dt>账号：</dt>
                <dd>
                    <input id="txt_userName" type="text" runat="server" tabindex="1" maxlength="20" />
                    <img id="accountEImg" style="display: none" />
                    <span id="spanAccount">用户名长度为4-15</span></dd>
            </dl>
            <dl>
                <dt>密码：</dt>
                <dd>
                    <input id="txt_Password" type="password" name="txt_Password" runat="server" tabindex="2"
                        maxlength="16" />
                    <img id="pwdEImg" style="display: none" />
                    <span id="spanPwd">使用英文字母加数字的组合，且在6-16个字符以内</span></dd>
            </dl>
            <dl>
                <dt>确认密码：</dt>
                <dd>
                    <input id="txt_RePassword" name="txt_RePassword" type="password" runat="server" tabindex="3"
                        maxlength="16" />
                    <img id="rePwdEImg" style="display: none" />
                    <span id="spanRePwd">请再输入一遍您上面输入的密码</span></dd>
            </dl>
            <dl>
                <dt>出生日期：</dt>
                <dd>
                    <input id="txt_birthday" name="txt_birthday" type="text" runat="server" tabindex="4" /></dd>
            </dl>
            <dl>
                <dt>性别：</dt>
                <dd>
                    <select runat="server" id="sel_sex" name="sel_sex" tabindex="5">
                        <option value="1">男</option>
                        <option value="0">女</option>
                    </select>
                </dd>
            </dl>
            <dl>
                <dt>身份证</dt>
                <dd>
                    <input id="txt_ssn" name="txt_ssn" type="text" runat="server" tabindex="5" maxlength="18"
                        size="18" />
                    <img id="ssnImage" style="display: none" />
                    <span id="spanSSN">请输入18位身份证号码</span>
                </dd>
            </dl>
            <dl>
                <dt>验证码：</dt>
                <dd>
                    <input name="txtValidate" type="text" id="txtValidate" size="4" maxlength="4" runat="server" />
                    <span id="lblCaptCha"></span><a id="change" href="#" onclick="CaptChaImage()">换一张</a>
                    <span id="validateMsg"></span>
                </dd>
            </dl>
            <dl>
                <dt>&nbsp; </dt>
                <dd>
                    <input id="ckbAgreement" name="ckbAgreement" type="checkbox" checked="checked" />
                    我已阅读并同意《 <span class="stress"><a href="Agreement.htm" target="_blank">注册协议</a></span>
                    》
                </dd>
            </dl>
            <dl>
                <dt>&nbsp;</dt>
                <dd>
                    <asp:Button ID="btn_Register" runat="server" Text=" 注  册 " OnClientClick=" return OnConfirmClick()"
                        OnClick="btn_Register_Click" /></dd>
            </dl>
        </fieldset>
    </div>
    </form>
</asp:Content>
